package com.coderdream.chapter05.singleton.a2;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println("Start.");

		for (int i = 0; i < 9; i++) {
			Triple triple = Triple.getInstance(i%3);
			System.out.println( i + ":" + triple);
		}

		System.out.println("End.");

	}

}
